package com.first_javaee.service;

import com.first_javaee.entity.TimeTable;

//定义函数，这样才能被调用
public class TimeTableService {
    public TimeTable qryTimeTable(String sno, String password, String stuTerm) {
        TimeTable timeTable = new TimeTable();
        timeTable.setTeacherName("唐红军");
        timeTable.setClassRoom("C111");
        timeTable.setCourseName("javaEE");
        timeTable.setWeek("周二");
        timeTable.setStart(8);
        timeTable.setLength(5);
        System.out.println(timeTable.toString());
        return timeTable;
    }
}
